package cn.znzz.cjm.controller;


import cn.znzz.cjm.util.AjaxResult;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping
public class SuccessController {
    @PostMapping("/success")
    public AjaxResult success(){
        return  AjaxResult.me().setMessage("宝贝，你来啦");
    }
}